<template>
  <div>
    <!-- <h1 >{{ item }}</h1> -->
    <!-- v-for="item in searchTipsListData" :key="item.id" -->
    <van-list
      :finished="finished"
      finished-text="没有更多了"
    >
      <van-cell
        v-for="(item,index) in searchTipsListData"
        :key="index"
        :title="item"
        @click="cellClick(item)"
      />
    </van-list>
  </div>
</template>

<script>
export default {
  data() {
    return {
      finished: false,
    };
  },
  props: ["searchTipsListData"],
  methods: {
    cellClick(val) {
      this.$emit("cellClick", val);
    },
  },
};
</script>

<style></style>
